Getting Your Wires Crossed

نویسنده

  • Geraint Jones
چکیده

Things should be as simple as possiblèand no simpler', so they say. This paper is about simplifying a construct in Ruby, to reduce the complexity of the algebra without sacriicing expressive power. Ruby, for which Mary Sheeran is largely responsible, is a language of relations and a collection of rules { equalities { for algebraic transformation of expressions in that language. The presentation here is by way of being a natural history of the combining forms that build state machines. It shows that over time the operators have evolved as we have been able to simplify calculation by chosing to name combining forms which have simple properties, rather than naming those forms which correspond to the original intuition about the application area, and this apparently without making it signiicantly harder to relate the calculations to reality. Whether there are any general lessons which can be drawn from this history, I leave to the reader. FP is a language of functions 6], from which Ruby has been developed. The in its name is the operator which constructs a state machine from its transition function, something traditionally denoted by. This operator constructs an automaton f; g] from two functions, f which delivers the output as a function of the present state and input, and g which delivers the next state also as a function of the present state and input. This is the characterisation of a state machine known as a Mealy machine, as opposed to Moore machines, which describe the same machine by a diierent pair of functions. An implementation is likely, for detailed operational reasons like propagation delay, to be more like a Mealy machine than the apparently simpler corresponding Moore machine which calculates its output as a function of its state. So it was the Mealy machine that was chosen as a named combining form to be added to Backus' FP 1]. It is an odd coincidence that Mealy, Moore, and Mary might all be being spelled with a capital. which is called C in reference 6]. Here the dot is (forward) composition of functions, the ones and twos are the FP notation for the projection functions which deliver the rst and second components of a pair, and f; g] is the function that returns the pair of results of applying each of f and g to its argument.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Infantile Mandibular Fracture Treatment with Double-crossed Skeletal and Circummandibular Wires: A Case Report

Abstract The prevalence of mandibular fracture is relatively lower in the pediatric population compared to adults. The treatment of these fractures is more challenging for oral and maxillofacial surgeons due to the concerns regarding mandible growth and the presence of developing tooth buds. According to the literature, conventional methods (e.g., soft diets or closed red...

متن کامل

Crossed Kirschner’s wires for the treatment of anterior flail chest: an extracortical rib fixation

Objective: Thoracic trauma may be a life-threatening condition. Flail chest is a severe chest injury with high mortality rates. Surgery is not frequently performed and, in Literature, data are controversial. The authors report their experience in the treatment of flail chest by an extracortical internal-external stabilization technique with Kirshner’s wires (K-wires). <...

متن کامل

A study of biplanar crossed pin construct in the management of displaced pediatric supracondylar humeral fractures

PURPOSE Study of a biplanar crossed pin construct by two crossed Kirschner wires in the management of displaced extension type supracondylar humeral fractures in children. METHODS Sixty-four patients with such fractures were included and treated according to the study protocol: after achieving closed reduction under general anesthesia with fluoroscopic control, two crossed Kirschner wires of ...

متن کامل

Locking Plate Alone versus in Combination with Two Crossed Kirschner Wires for Fifth Metacarpal Neck Fracture

Fracture of fifth metacarpal neck commonly requires open reduction and internal fixation. However, the current methods of internal fixation in fifth metacarpal neck fractures remain unsatisfactory. Patients with fractures of fifth metacarpal neck received open reduction and internal fixation with either locking plate in combination with two crossed Kirschner wires (K-wires) or locking plate alo...

متن کامل

Quantum interference due to crossed Andreev reflection in a d-wave superconductor with two nano-contacts

The crossed Andreev reflection in a hybrid nanostructure consisting of a d-wave superconductor and two quantum wires is theoretically studied. When the (110) oriented surface of the superconductor is in contact with the wires parallel and placed close to each other, the Andreev bound state is formed by the crossed Andreev reflection. The conductance has two resonance peaks well below the gap st...

متن کامل

P14: How to Find a Talent?

Talents may be artistic or technical, mental or physical, personal or social. You can be a talented introvert or a talented extrovert. Learning to look for your talents in the right places and building those talents into skills and abilities might take some work, but going about it creatively will let you explore your natural abilities and find your innate talents. You&rsquo;re not going to fin...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1991